package com.li.shop.utils;

import com.li.shop.domain.News;

import java.util.List;

public class SearchNewsResponse {
    private long total;
    private List<News> newss;

    public SearchNewsResponse(long total, List<News> newss) {
        this.total = total;
        this.newss = newss;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<News> getNewss() {
        return newss;
    }

    public void setEmployees(List<News> newss) {
        this.newss = newss;
    }
}
